﻿package net.wangit.view.page;

import net.wangit.framework.cache.Cache;

public class MemoryCachedPage {

	public MemoryCachedPage() {
	}

	public static String get(String domain, String unitId) throws Exception {
		Cache cache = getCache();
		String pageContent = (String) cache.get(unitId);
		return pageContent;
	}

	public static void clear(String unitId) {
		getCache().clear(unitId);
	}

	private static Cache getCache() {
		return null;
	}
}
